import { IPSStepper } from './ipsstepper';
import { PSNumberEditorImpl } from './psnumber-editor-impl';

export class PSStepperImpl extends PSNumberEditorImpl implements IPSStepper {
  get stepValue(): number {
    return this.M.stepValue;
  }

  get cls(): string {
    return 'PSStepperImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'control.editor.IPSStepper') return true;
    return super.instanceof(cls);
  }
}
